<template>
  <div>
    <div style="width: 1000px;margin: 20px auto;background-color: #FFFFFF;padding: 20px" v-html="info"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      type: 0,
      info: ''
    }
  },
  mounted() {
    this.id = this.$route.params.id;
    this.getInfo();
  },
  methods: {
    getInfo() {
      this.ajaxs('index/getDocDetail', {
        data: {
          id: this.id
        },
        success: (res) => {
          this.info = res.msg;
        }
      })
    }
  }
}
</script>

<style scoped></style>